php filter array contain valu

37

array_filter(
  $array,
  function ($element) use ($to_remove) {
    return strpos($element, $to_remove) === false;
  }
);

Comments

Submit
0 Comments